python cv2 how to update image

35

# Call imshow multiple times to update image.
# waitKey(milliseconds) waits a number of milliseconds before updating the image
while True:
    cv2.imshow('image', img)
    cv2.waitKey(1)

Comments

Submit
0 Comments